package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.vo.ScenicCommentVO;
import cn.wolfcode.luowowo.common.domain.ScenicComment;
import cn.wolfcode.luowowo.common.query.ScenicCommentObject;

import java.util.List;

public interface ScenicCommentMysqlMapper {

    void save(ScenicComment comment);

    List<ScenicComment> listAll(ScenicCommentObject qo);

    int thumbup(Long detailId);

    int getThumbup(Long detailId);

    List<Long> getAllId(Long detailId);

    ScenicComment getOne(Long id);

    List<ScenicCommentVO> selectRemark(Long id);

    int count(Long id);

}